package com.douyin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.douyin.entity.Role;
import com.douyin.entity.Tree;
import com.douyin.utils.R;
import com.douyin.vo.AssignRoleVO;
import com.douyin.vo.AuthorityVO;


import java.util.List;


public interface RoleService extends IService<Role> {

    List<Tree> tree();

    R removeRole(String id);

    R gavePermission(AuthorityVO authorityVO);

    R gaveRole(AssignRoleVO assignRoleVO);

}
